<?php

namespace Modules\Basic\Entities;

use Illuminate\Database\Eloquent\Model;
use Modules\Wx\Entities\WxRole;

class BaseReply extends Model
{
    protected $fillable = ['content','role_id'];

//    回复表对规则表是多对一的关系
    public function huifu(){
        return $this->belongsTo(WxRole::class,'role_id','id');
    }
}
